package flc.ast.bean;

import androidx.annotation.Keep;

import java.util.ArrayList;
import java.util.List;

import stark.common.basic.bean.SelBean;

@Keep
public class PicAlbumBean extends SelBean {
    private String time;  // 比较时间前后的字段(yyyy/MM/dd（EEEE）)
    private List<ClassBean> classBeanList;

    public PicAlbumBean(String time, List<ClassBean> classBeanList) {
        this.time = time;
        this.classBeanList = classBeanList;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<ClassBean> getClassBeanList() {
        return classBeanList;
    }

    public void setClassBeanList(List<ClassBean> classBeanList) {
        this.classBeanList = classBeanList;
    }

    public PicAlbumBean lightCopy() {
        List<ClassBean> beanList = new ArrayList<>(classBeanList);
        return new PicAlbumBean(time, beanList);
    }

    @Keep
    public static class ClassBean extends SelBean {
        private String name;
        private String path;  // 原图路径
        private long shootTime;  // 时间

        public ClassBean(String name, String path, long shootTime) {
            this.name = name;
            this.path = path;
            this.shootTime = shootTime;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }


        public long getShootTime() {
            return shootTime;
        }

        public void setShootTime(long shootTime) {
            this.shootTime = shootTime;
        }
    }
}
